package com.chen.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@NoArgsConstructor
@SuppressWarnings("all")
public class Person {
    private int id;
    private String name;
    private String pwd;
    private int sex;
    private Date birthday;
    private String email;

    public Person(int id, String name, String pwd, Integer sex, String email) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.sex = sex;
        this.birthday = new Date();
        this.email = email;
    }
}
